import { OperateItem } from "./OperateItem";
type int = number;
//class PlayerDialog
    
    export  class PlayerDialog /* flash.display.Sprite */
    {
        constructor()
        {
            
            this._mouseBg = new Object /* flash.display.Sprite */();
            addChild(this._mouseBg);
            return;
        }

        public updateData(arg1: Array<any>): void
        {
            this.drawMouseBg();
            return;
        }

        public getOperteItem(arg1: int): OperateItem
        {
            return null;
        }

        public updateHeight(arg1: int=1): void
        {
            this.drawMouseBg();
            return;
        }

        protected drawMouseBg(): void
        {
            this._mouseBg.graphics.clear();
            this._mouseBg.graphics.beginFill(16711680, 0);
            this._mouseBg.graphics.drawRect(0, 0, this.width, height);
            this._mouseBg.graphics.endFill();
            this._mouseBg.cacheAsBitmap = true;
            return;
        }

        public dispose(): void
        {
            return;
        }

        public /* override */ get width(): number
        {
            return 400;
        }

        /* internal */ /* var */_mouseBg: Object /* flash.display.Sprite */;
    }
